package com.block.db.mapper;

import com.block.db.entity.RiskCostRecordInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 风控消费记录 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2023-05-27
 */
public interface RiskCostRecordInfoMapper extends BaseMapper<RiskCostRecordInfo> {

    RiskCostRecordInfo getEntityByDateInfoAndConfigIdLock(@Param("dateInfo") String dateInfo, @Param("configId")Integer configId);

    int updateEntityById(RiskCostRecordInfo updateEntity);
}
